<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
         var M = prompt("请输入您的名字: ")
        console.log("用户的名字:",M);
        var N= prompt("请输入您的年龄: ")
        console.log("用户的年龄:",N);
        var X= prompt("请输入您的性别: ")
        console.log("用户的性别:",X);

        var d = prompt("你现在多少岁了?")
        console.log("据我估计，五年后，你可能",Number(d)+5,"岁了");

        var zonge = prompt("请输入银行卡余额:")
        var shui = prompt("请输入水费:")
        var dian = prompt("请输入电费:")
        var wang = prompt("请输入网费:")
        var yue=zonge-shui-dian - wang
    </script>
    <tableb border="1" callspace="0" allgn="center">
       <caption>2025年九月份消费</caption>
       <tr>
        <td>银行卡总额</td>
        <td>水费</td>
        <td>电费</td>
        <td>网费</td>
        <td>银行卡余额</td>
        </tr> 
        <tr>
            <td><script>document.write(zonge)</script></td>
            <td><script>document.write(shui)</script></td>
            <td><script>document.write(dian)</script></td>
            <td><script>document.write(wang)</script></td>
            <td><script>document.write(yue)</script></td>
        </tr>
    </table>
</body>
</html>